Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ClipboardPasteCommand Class / ClipboardPasteCommand Constructor / ClipboardPasteCommand Constructor(Worksheet,Reference[],Worksheet,Reference[],ManipulationOptions,Boolean)
The source worksheet.
The selections of the source worksheet.
The target worksheet.
The destination ranges of the target worksheet.
A GrapeCity.Spreadsheet.ManipulationOptions value indicates the processing data options.
A boolean value indicates whether the source cell range will be clear.


In This Topic
    ClipboardPasteCommand Constructor(Worksheet,Reference[],Worksheet,Reference[],ManipulationOptions,Boolean)
    In This Topic
    Initializes a new instance of the ClipboardPasteCommand class for paste from single source range to multi-target ranges.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal sourceWorksheet As Worksheet, _
       ByVal sourceReferences() As Reference, _
       ByVal targetWorksheet As Worksheet, _
       ByVal targetReferences() As Reference, _
       ByVal manipulationOptions As ManipulationOptions, _
       ByVal clearSource As Boolean _
    )
    'Usage
     
    
    Dim sourceWorksheet As Worksheet
    Dim sourceReferences() As Reference
    Dim targetWorksheet As Worksheet
    Dim targetReferences() As Reference
    Dim manipulationOptions As ManipulationOptions
    Dim clearSource As Boolean
     
    Dim instance As New ClipboardPasteCommand(sourceWorksheet, sourceReferences, targetWorksheet, targetReferences, manipulationOptions, clearSource)

    Parameters

    sourceWorksheet
    The source worksheet.
    sourceReferences
    The selections of the source worksheet.
    targetWorksheet
    The target worksheet.
    targetReferences
    The destination ranges of the target worksheet.
    manipulationOptions
    A GrapeCity.Spreadsheet.ManipulationOptions value indicates the processing data options.
    clearSource
    A boolean value indicates whether the source cell range will be clear.
    See Also